package com.profiloc.ui.screens;

import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.container.MainScreen;

import com.profiloc.ui.custom.CustomLabelField;


public class ShowProfilesScreen extends MainScreen{

	private ProfileListScreen profileList;
	private MainMenuScreen mainScreen;
	private Bitmap icon = Bitmap.getBitmapResource("rsz_3icon.png");
	private CustomLabelField titleBar;
	public ShowProfilesScreen(MainMenuScreen mainScreen) {
		
		titleBar = new CustomLabelField("  Profiloc - Saved Profiles",Color.WHITE, 0x000000, icon, Field.USE_ALL_WIDTH);

		setTitle(titleBar);
		this.mainScreen = mainScreen;
		profileList = new ProfileListScreen(this.mainScreen);
		add(profileList);
	}
}
